import request from '@/utils/request'

// 查询核心指标数据
export function getIndexBoardCoreData (params = {}) {
  return request({
    url: '/manager/board/getIndexBoardCoreData',
    method: 'get',
    params: params
  })
}

// 查询看板列表数据
export function getIndexBoardCoreDataList (params = {}) {
  return request({
    url: '/manager/board/getIndexBoardCoreDataList',
    method: 'get',
    params: params
  })
}

// 查询小时段及累计数据
export function getIndexBoardHourDataList (params = {}) {
  return request({
    url: '/manager/board/getIndexBoardHourDataList',
    method: 'get',
    params: params
  })
}

// 查询次级指标数据
export function getIndexBoardSubData (params = {}) {
  return request({
    url: '/manager/board/getIndexBoardSubData',
    method: 'get',
    params: params
  })
}